package com.hyg.hometown.dao;

import com.hyg.hometown.model.User;
import org.springframework.data.repository.CrudRepository;

/**
 * 数据持久层 @Repository代表数据持久层的注解，即数据访问注解
 */
public interface UserInfoRepository extends CrudRepository<User,String> {
    public User getUsersByUsername(String name);

}